package com.stylefeng.guns.rest.common.persistence.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.rest.common.persistence.model.CareModel;
import com.stylefeng.guns.rest.common.persistence.model.ViewRecord;
import com.stylefeng.guns.rest.modular.catalogy.controller.dto.ArticleListResponse;
import com.stylefeng.guns.rest.modular.content.controller.dto.MyCommentList;
import com.stylefeng.guns.rest.modular.viewrecord.controller.dto.ViewRecordResponse;

import java.util.List;
import java.util.Map;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2017-08-23
 */
public interface CareMapper extends BaseMapper<CareModel> {
    List<ArticleListResponse> artitleCareList(Map<String, Object> data);
    List<MyCommentList> getMyCaretList(Map<String, Object> date);
    int getUserAllCareNums(Map<String, Object> date);
}